//
//  CustomLoadingDataView.h
//  SafePeriod
//  自定义加载数据view
//  Created by Sheng long on 13-6-5.
//  Copyright (c) 2013年 cdeledu. All rights reserved.
//

#import <UIKit/UIKit.h>

//数据状态
typedef enum
{
    //暂无数据
    TemporarilyNoDataState=5310,
    //加载中
    LoadingDataState,
    //获取更多
    GetMoreDataState,
    //获取更多状态异常
    GetMoreDataExceptionState,
    //已加载全部
    AlreadyLoadedState
}CurrentDataState;

@protocol AutoLoadingMoreViewDelegate
//加载更多
-(void)loadingMoreData;
@end

@interface AutoLoadingMoreView : UIView

@property (nonatomic,assign) id<AutoLoadingMoreViewDelegate> delegate;

//当前数据状态
@property (nonatomic) CurrentDataState currentDataState;

//获取更多数据
-(void)clickButt;

@end
